/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 
 * 
 * @author zgy
 * @date 2021-8-11
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveQrCodeRequest {
	
	/**
	 * 二维码Id
	 */
	
	private Long qrId;
	/**
	 * 文本
	 */
	@NotBlank @Length(max=200)
	private String text;
	/**
	 * 文件地址
	 */
	@NotBlank @Length(max=500)
	private String url;
	/**
	 * 备注
	 */
	@Length(max=500)
	private String comment;
	/**
	 * 分类
	 */
	@NotBlank
	private String type;
	/**
	 * 二维码图片宽度
	 */
	private Integer width = 300;
	/**
	 * 二维码图片高度
	 */
	private Integer height = 300;
}
